package com.zqxq.lottery.service.user;

import com.baomidou.mybatisplus.plugins.Page;
import com.baomidou.mybatisplus.service.IService;
import com.zqxq.lottery.entity.bo.user.UserCashBO;
import com.zqxq.lottery.entity.bo.user.UserCashSearchBO;
import com.zqxq.lottery.entity.po.user.UserCashPO;
import com.zqxq.lottery.entity.vo.expert.CommissionVO;
import com.zqxq.lottery.entity.vo.user.UserCashVO;

import java.util.List;


public interface IUserCashService extends IService<UserCashPO>{

    Page queryPage(UserCashBO search) throws Exception;

    List<UserCashVO> query(UserCashSearchBO search) throws Exception;

    Page queryCommissionPage(UserCashBO search) throws Exception;

    Page queryPageCZ(UserCashBO search) throws Exception;

    Page queryPageTX(UserCashBO search) throws Exception;

    UserCashVO save(UserCashVO vo) throws Exception;

    UserCashVO getTX(Long id) throws Exception;

    Integer getDrawCashCount(Long userId);

    /**
     * 跟单-我的佣金信息
     * @param user_id
     * @return
     */
    CommissionVO commissionInfo(Long user_id);

}
